import request from '@/api/axios';
import type { LoginData ,LoginResult } from '@/api/type';

//登陆
export function Login(data: LoginData): Promise<LoginResult<any>> {
  return request({
    url: 'api/RBAC/Login',
    method: 'post',
    data:data
  });
}